package com.zxq.ruoyi.enums;

public enum EProductState {


    prepare(1),
    run(2),
    stop(3);


    Integer value;
    EProductState(int i) {
        this.value = i;
    }

    public Integer getValue() {
        return value;
    }

    public static EProductState getType(Integer index) {
        EProductState state = EProductState.values()[index - 1];
        return state;
    }

//    public static void main(String[] args) {
//        System.out.println(EProductRunState.getType(1));
//    }





}
